$(document).ready(function(){
	$(".overItem tr:gt(0)").append("<td><input type='button' class='delete' value='delete' /></td>");
	$(".overItem").removeClass("overItem");
	
	$(".delete").live("click",function() {
		var parent = $(this).parent().parent();
		delId=parent.find("td:first").text();
		$.get("/controllers/delGood.php", {item: delId, tab:parent.parent().parent().attr("class")}, function(data){
			parent.remove();
		});
	    return false;
	});

});